html,body{
    margin: 0;
    padding: 0;
    background-color: antiquewhite;

}
p,h2{
    user-select: none;
}
/* header{
    height: 120px;
    overflow:hidden;
} */
.img1{
    width: auto;
    height: 120px;
    margin-left: 100px;
    transition: transform 0.5s ease;
}
.img1:hover {
    transform: scale(1.2);
}
main{
    height: 500px;
    width: 800px;
    margin-left: 300px;
    overflow: auto;
}
h2{
    width: 300px;
    height: 50px;
    margin-left: 100px;
    background-color: rgb(159, 204, 189);
    display: flex;  /*弹性*/
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    /* 过渡效果，设置变换属性的过渡时间和过渡方式 */
    transition: transform 1s ease; 
}
h2:hover {
    transform:scale(1.5);
}
footer{
    height: 300px;
    background-color: aquamarine;
    transition: transform 1s ease;
}
footer:hover {
    transform: scale(1);
}